fix broken color range