tlv not defined, possible fix?

tlv is never defined, is this the inteded effect?