fixing to_aggregator import