made error messages a little less verbose