fixing bug in aggregateRunner