refine extract sni name