call fetchResources only once per render #2