fixed double mainactivity