fix not root issue for delete node