fix up array dimension instances