remap `this` after retrieving it from the this_stack because we might be in a closure