made an error message more verbose