correction probleme methode exit