fix total_rating