fix data binding and validation for color id