flicker fix attempt #9