Fix for iOS Devices