clean up PDF debugging