preaggregation fix