adds support for iOS 7