fixed GUI update and widgetremove