somewhat better error message