Fix cname settting