fix unicode connection problem