fixed aggregation alignment issue