restore the node structure