fix uninitialized issue with success on rank!=0