Fix for ipad.