fixed crash on language change