fixed mainactivity