slightly better error messages