fixed color change error