Fix bug: call to Adapter::getProvider method