remove old class matrixcounter