Detecting of the injected surrogate role sometimes failed. Save it instead