Fix text nodes