added after each loop to drop dbs