TypeError: 'str' object does not support item assignment


running debian 11 on VPS, imported V14 database to new system, all working but I have a Lead that has the problem identified in this link:

notes for leads created in V13 generate exception after upgrade to V14 · Issue #31800 · frappe/erpnext · GitHub

Problem is I cannot find a way to remove the Lead from current system, I cannot delete the entry it returns error:

App Versions

	"erpnext": "14.1.2",
	"frappe": "14.7.0",
	"hrms": "0.0.1",
	"payments": "0.0.1"




Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 69, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 54, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 45, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1599, in call
  File "apps/frappe/frappe/desk/form/load.py", line 37, in getdoc
    doc = frappe.get_doc(doctype, name)
  File "apps/frappe/frappe/__init__.py", line 1190, in get_doc
  File "apps/frappe/frappe/model/document.py", line 74, in get_doc
    return controller(*args, **kwargs)
  File "apps/erpnext/erpnext/controllers/accounts_controller.py", line 81, in __init__
    super(AccountsController, self).__init__(*args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 106, in __init__
  File "apps/frappe/frappe/model/document.py", line 152, in load_from_db
  File "apps/frappe/frappe/model/base_document.py", line 109, in __init__
  File "apps/frappe/frappe/model/base_document.py", line 156, in update
    self.set(key, value)
  File "apps/frappe/frappe/model/base_document.py", line 208, in set
    self.extend(key, value)
  File "apps/frappe/frappe/model/base_document.py", line 249, in extend
    self.append(key, v)
  File "apps/frappe/frappe/model/base_document.py", line 234, in append
    value = self._init_child(value, key)
  File "apps/frappe/frappe/model/base_document.py", line 262, in _init_child
    value["doctype"] = doctype
TypeError: 'str' object does not support item assignment

Request Data

	"type": "GET",
	"args": {
		"doctype": "Lead",
		"name": "CRM-LEAD-2022-00001"
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.desk.form.load.getdoc"

Response Data

	"exception": "TypeError: 'str' object does not support item assignment"

and I cannot update bench it returns other error as per link. Is there a way to manually remove this record from the database or other process? Thanks