Réparation d'un bogue important et qqs améliorations