Fix an inappropriate error message