improve resilience against invalid surrogates