fixed an issue where language doesnt switch