corrected error of too many arrays within the array