enable register method in the provider class again