Fix Practice PDF generation