Fixed destroying the node.