corrected an error (langs -> cfg.LANGS)