changed error messages