Fix for ipad