rename deprecated API for iOS 8