bugfix for iOS 8