ensure pdf path is there