Attempted fix for iPad issue