refix for n-dimensional matrices and refix redisGet