Fix LanguageManager scan error.