remove db directory, and other changes.