get ride of mainActivity