fix requestEnvelope injection