fix replace method, replace childs, not this node
simple change the frequency