fix barchart