change to correct getEffectiveProfile method