Clean up the pdf