Fix some problems uninstalling widgets