Fix switch-case