fixes color change