fix empty db
Merge pull request #1 from Benruby/develop

fix empty db