fixed client dbs elect