bugs in lexer and corpus evaluation