bugfix model unicode function