Fix pie chart and ratings