fix unknown languages
refactoring