fix some ipad stuff