clean up MainActivity