exit code fix