delete submenu from main template