fixed ipad-landscape issue