alternative removal of parent path