fixed averageBars not filling width