bug fix to extractor and aggregator v0.0.1