Fixed widgetUtils bug