fix compat with lexer stuff