refine commit