fixing the pdf