add / in pathProg.