Mike, You can change the loop direction and it works too ! ... for i = table.getn(self.deps),1,-1 do if self.deps[i]["name"] == _name then table.remove(self.deps, i) end end ... Frank