exitcode processing fix