fixed bug with removing stale peers