fixed color bug on change