[bugfix] - handle commits on restart