fix bugs of path

fix bugs of path