fixes a problem with pdf loading