replace legacy code for text ratings views