hack fix for iOS 8