changed error prints