fix a minor glitch in the matrix