add totals and clean up leftover active removal on unfilter