Fixed problem with provider.