fixing bar graph for feeding