correcting lexer, compilation error