cleanup
pending_groups