fixed bug when associating ratings, style changes