Fix construction of node.