updated inject code at provider.run().