suppressed deprecation warning for iOS 7