diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js
index <HASH>..<HASH> 100644
--- a/lib/determine-basal/determine-basal.js
+++ b/lib/determine-basal/determine-basal.js
@@ -187,7 +187,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
     var snoozeBG = naive_snoozeBG + deviation;
 
     // adjust target BG range if needed to safely bring down high BG faster without causing lows
-    if ( bg > max_bg && profile.adjust_targets_when_high ) {
+    if ( bg > max_bg && profile.adv_target_adjustments ) {
         // with target=100, as BG rises from 100 to 160, adjustedTarget drops from 100 to 80
         var adjustedMinBG = round(Math.max(80, min_bg - (bg - min_bg)/3 ),0);
         var adjustedTargetBG =round( Math.max(80, target_bg - (bg - target_bg)/3 ),0);
profile.adjust_targets_when_high renamed to adv_target_adjustments