changed error message display