opts.data empty check
Merge pull request #1 from dahinir/master

opts.data empty check