try to fix flicker