fixed utf8 host bug