solving problem of compilation on ProviderContext's class

solving problem of compilation on ProviderContext's class