trying to fix some ipad bugs