remove duplicate check for colorbars