fix a wrong variable
Merge pull request #9 from alancs23/master

fix a wrong variable