fix undefined method default for nilclass
Merge pull request #39 from bartoszkopinski/master

fix undefined method default for nilclass