turn on debug for aggregation