resolution bug pre connexion