fix ipad issue