further changes to PDF parsers