Correct close the last open case statement in a switch statement