fixes to featurizer