ensure affinity group and location read out properly