Fixed the blinking