array out of bound error line 434