fixing minor pie chart issue