changed text format for error message
changed error messages