fixes placement of pdfs