remove duplicate a related key definition.