using node.default, otherwise node attribute is read-only