fix flicker of notification