fix for PDF generation