fix constructor
Merge pull request #22 from rzcoder/dev

fix constructor