make error output friendly