fix ipad support