fixing the widget issue when other methods is selected