fixed for utf-8