Fix a problem preventing to delete a widget if

the widget path have some special characters