utf-8 bug fix