fixes to bar chart