add loadConfig to providers