fixing bar chart example