clean up on switching menus