remove reference to firstObject for IOS6