fixed databasing
Merge pull request #2 from zstayman/master

fixed databasing