just changed the default filename of the pdf file so that it doesn't cause errors