fix to aggregate