delete TermWidgetImpl