lexer usage bugfix