delete the pdf to avoid conflict