While using the pdf each time i want to submit, i get the mistake error