process finish and commit result