corrected switch_continuity