Change to use path in nodes.remove