fixed #12
Merge pull request #13 from UFOMelkor/hotfix/12

assigning variable directly