try to reduce switch time check flicker