support switch window with number.