fixed crashing on example Apperson PDF file