Length check missing in language.rs