fix pdf model import
Merge pull request #1127 from csalvador/taskpdffix

fix pdf model import