Fixing utf8 bug