cleaned up error output