delete dead stuff, get names into lexer errors