fixed more matrice things