fixed database issues
nothing new
Merge pull request #1 from sharanagrawal/master

fixed database issues