cleared tables before filling to avoid refilling