change barChart to barchart