fix menu errors.