FIXED bug with color comparisons