[PDF generation] small fix