make removeFromParentSlot() safer