bug fix for bar chart