mainActivity fix