fix bug; add new db