fix broken call to gen_CNAME