fixed color bar issue