fix color handling of input fields