color state fix