ipad and safari fixes