bug fix for ipad