finish db reset