replace len check with nil for default opts
Merge pull request #9 from adkatrit/master

replace len check with nil for default opts