fixes to use RichTextField better