corrected misplacement of call to PdfPages()