Modification algo echange, correction bug