Fix resetDB