Fix problem uninstalling/deleting widgets