fix #1 and bug with defaults method
Merge pull request #2 from ArtemFitiskin/master

fix #1 and bug with defaults method