temporary update to pdf generation