fix the cname bug