Fix crash bug in rhizome sync