remove duplicates of visits