fix charset issue