Correct the array size