fixing pdf generation