fix invalid reference to node_attributes