feature extractor bugfix