fix bug on first load (unicode)