added missing base case for node_delete