array2d fix