re-activated pdf generator