minor fix hash for aggregation