support for iOS 7 SDK