remove duplicated string