remove duplicates from view