fixing lexer