delete maintactivity