corrected PDF save