additional workaround to https://issues.apache.org/jira/browse/PDFBOX-1755