textwidget bugfix