bugfix in bar charts