fix replace node with text