resolve config