main activity fixed