fix cname support