Fixing up array length.