fixed barchart and broke everything