fix problem with flicker fix.