fix loop to incorporate all the things to delete"

:cow: