clean up initialization of providers