fix pdf error
remove test line
Merge pull request #4 from thogg4/pdf

fix pdf error