ensure everything is committed