quick fix for text nodes directly under document node