fix failover mechanism config