add clean_up_open_menu and getip