don't leak local variables into globals