contructor pattern - bug fix - property of undefined
Merge pull request #82 from stefek99/1.5.2

contructor pattern - bug fix - property of undefined