Correction bug matrice