fixed blink bug