diff --git a/modules/amv/intercompare.py b/modules/amv/intercompare.py
index d3cd8e6c2adbbe1e644a0eba620ced32eb5e2b3d..e4f282ee2d8ee0cd66b00fa05ef4e2cbace40cc5 100644
--- a/modules/amv/intercompare.py
+++ b/modules/amv/intercompare.py
@@ -921,7 +921,6 @@ def best_fit(amv_spd, amv_dir, amv_prs, amv_lat, amv_lon, fcst_spd, fcst_dir, fc
         return bf_data
 
     imin = imin[0][0]
-    imin = kk[0][imin]
 
 # Use a parabolic fit to find the best-fit pressure.
 # p2 - Minimized model pressure at level imin (hPa)
@@ -1072,7 +1071,6 @@ def best_fit_altitude(amv_spd, amv_dir, amv_alt, amv_lat, amv_lon, fcst_spd, fcs
         return bf_tup
 
     imin = imin[0][0]
-    imin = kk[0][imin]
 
     a2 = fcst_alt[imin]
     v2 = vec_diff[imin]