better color switch behavior