fixed utf-8 int encoding error