remove duplicated command spec.