Fix switch using strings