fix connexion between replica-sets and cstorage