fixed a typo and trying to return the provider differently.