fix the 3 times color change