Fix issue where a variable were not defined
Fix issue where a variable were not defined

* origin/pr/11793:
  Fix issue where a variable were not defined