Fixed a problem with PDFBox 1.8.0