fixed bug when producing pdf report that contains pdfs