fix objectAtIndex crash
Merge pull request #1 from ghfghfg23/master

fix objectAtIndex crash