fix path in checkexists