working on #373 error messages
working on #373 error messages