122 fix dynamic lookup

Parameter was out of scope.