you are correct or move the ent_remove out the loop.
I was just telling spawn because he knows i uninstalled 3dgs and would not be testing this when he ask me to make the hacks