Quick fix for text nodes