changed error statement