fixing bar chart