changed error output a bit