fixed utf-8 bug