fix aggregator execution issues: prototype