fixed for iOS 8