You’ll need to disable avast self-defense module in troubleshooting tab of settings before deleting.