replacing node for @node