corrected issue with pdf generation
Merge pull request #10 from phawkins/111-163-14

corrected issue with pdf generation