fix my own stupidity in matrixs