not working fix for iOS 8