fix conversion unicode issue