cleaning up before deleting everything