fixed bug where peers weren't recalculated