fixed bug with bars drawing.