minor: double space in switchCode