add support for iOS 7