fix for ipad hopefully