Fix pie chart output.