remove duplicated hooks