made error messages more verbose