Fix bug of array-size