length check missing in language.rs