removing peer duplication