fix menu close method. #43