improve barchart