fix bar chart