Fix a bug for gone to except text node if node include text node and  other node