fix a lexer bug