fix color bar bug / delete unused resource