made error messages slightly better