fix limitations of array
fix little typo