fixed main activity