fix failover mode bug