fix color class toggling
fix color class toggling