getting cname to waork