fix peer/pub addrs, but need cur_leader