correcting path to the pdf files