fixed colorpicker bug