Fixing a glitch in the matrix