fix pie chart