Bug fix about auto selection of language.