Fix switch case