fixing compiler errors to FeatureExtractor code