fixes for utf8