rich text fix