fix broken barchart