fix a very confusing error message