writeSetWidgetValue fixed