correction bug extrait
merge with adiaz done