fix pdf generation