Bugfix

Corrected an issue with an incorrect variable scope.