fixed a bug in language menu