fixed switch cases