Fixed typo for PDF generation