Fixed the loading procedure for multidimensional arrays