restrict killIdx