patch BERT for UTF-8