fix bad assignment error
Merge pull request #3 from hamaco/fix-bad-assignment

fix bad assignment error