formating the pdf issue