stake_sync fix