fixed for iOS 7