properly remove aggregates