fix bug with text nodes