remove duplicated input