fix #81 critical error with defaults method
Merge pull request #82 from ArtemFitiskin/master

fix #81 critical error with defaults method