fix menu extend bug