a major bug fixed in updating _path & _currentPath