fix db
Merge pull request #3 from nhattan/fixdb

fix db