remove lingering groups