fixed the order of .config block so that provider is registered before it can be used

Fixes #200
v0.8.6