fix issue for utf-8