Fix switch syntax.