fix pathDFS get final path error
-