minor fixes for color picker