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

fix bug with defaults method