Fix warning for iOS8