The PDF output of my submission data is not showing properly