removed warnings for iOS 8.1 version