Fix for iOS