Fixed npe in LanguageReader