smart language switching fixes