Fixed the pie chart