Fix for iOS.