Fixed deleting widget if its path has special characters