724bb3bdc8e77ab407720c75df81688fbbfe9712 fix to use gather_result method