fix for iOS8