another attempt pdf fix