work with the latest go-lex