Correcting pdf