potential flicker fix