removing duplicate strings