fix refresh of color input