Corrected failed PDF output.