distance removed from WarningType