fix for ipad.