fix formatting of pie chart