fix the color changing