some fixes for the widget project