fixed main activity landscape issue