fix bar graph