fixed ipad/tablet issues