add delete debug feature