proper exit code