fixed confusing error message