cleaned up the db.