fix width barwidth... it is an int not string