++ FIXED PDF GENERATION +++
+ document generation WIP