fix multidimensional