try to reduce flickering