Fix incorrect variable assignment
Merge pull request #8 from kaiesh/master

Fix incorrect variable assignment