fix for not syncing with frontend when peers appear on the network #987