[path] bugs fixed