remove cname, from template