remove duplicated dependencies