change DTSwitch structure to have explicit default case