PDF Source fixes
Merge pull request #793 from yuzhay/PDFSource

PDF Source fixes