remove redundance