try to prevent utf-8 related error