Fixed issue with pdf