updated clean_db to clean > 8000 rows