need to fix the path name during the recursion