Fix switch dual type