minor changes. deleting db data at the end