delete witness func