use feature if enabled both: in global config and metadata