fix several lexer bug written in toy language