fixed problem with color range