remove duplicated entries