Fixed shadowed local variable
Merge pull request #170 from elcodi/fix/local-var-shadow

Fixed shadowed local variable