fix confusing error message