fix blinking effect