How to solve this?

In past i install helpdesk but recently i uninstall it, after that i see error in customer doctype when i am deleting the customer

image

How to solve this issue
and also i tried installing helpdesk but, it gives me error while installing

Thenk You