bar chart fix