fixed typo, fixed db!