remove duplicated definitions.