remove parent from path-node