ipad adaptation fixes