fixed objectAtIndex 0 bug