fixed problem with pdffilename and date