clean up error messages a bit