Pdf path fix