Fixing the bar graph