handle error output a bit better.