fix lexer configuration