fix the source for PDF