fix the unwanted blink