Improve exit code errors