clean up main tabs