fixed language mode change bug