fix text node spec