modify auto change language and other bug