small fix for duplicate peers