fix: idNormalize for matrix