fixed language mode problem