fix menu and sub menu