fix for null complex text nodes