removed warnings for iOS