custom lexer rebuild