Error on displaying pdf.