PDF submission reports not downloading correctly