fix menu delete error