finish Db