fix for simple text and rich text