resolve resources and activity switch