Fix constructor
Merge pull request #3 from msom/master

Fix constructor