fix corrupted pdf