fixed bug in lexer