fix the delete of cname