limit closure scoping to simplify appvar case, but this was kind of implies by lame bind encoding anyways