clean up open menus api