check text node text