Fix the name in an error message