fixed pie chart yet again