correction bug filtre distance