move default: and add break after it so functionally switch statement remains unchanged