fixed bug with color-by