diff --git a/pyglance/glance/io.py b/pyglance/glance/io.py
index d3a6f13fe90dcda27e1c394286fcf66552ff9125..19ee84ac31f4010870acc5b3749ffc4b4f7b50e1 100644
--- a/pyglance/glance/io.py
+++ b/pyglance/glance/io.py
@@ -42,7 +42,7 @@ class hdf(SD):
         scale_factor = 1.0
         add_offset = 0.0
         data_type = np.float32 # TODO temporary
-        scale_method = None
+        scaling_method = None
         
         # get the variable object and use it to
         # get our raw data and scaling info
@@ -59,7 +59,7 @@ class hdf(SD):
             if ('add_offset' in temp_attributes) :
                 add_offset = temp_attributes['add_offset']
             if ('scaling_method' in temp_attributes) :
-                scale_method = temp_attributes['scaling_method']
+                scaling_method = temp_attributes['scaling_method']
         SDS.endaccess(variable_object)
         
         # don't do lots of work if we don't need to scale things
diff --git a/pyglance/glance/plot.py b/pyglance/glance/plot.py
index 1c1ad0177d666457da3ca48813db5b03cb3e68de..d6ac5ea3a1c2ea9f24652bd0a96703364bcd286e 100644
--- a/pyglance/glance/plot.py
+++ b/pyglance/glance/plot.py
@@ -200,8 +200,8 @@ def _create_mapped_figure(data, latitude, longitude, boundingAxes, title,
         kwargs['cmap'] = colorMap
     
     # set up the projection information
-    longitudeRange  = boundingAxes[1] - boundingAxes[0]
-    latitudeRange   = boundingAxes[3] - boundingAxes[2]
+    longitudeRange  = abs(boundingAxes[1] - boundingAxes[0])
+    latitudeRange   = abs(boundingAxes[3] - boundingAxes[2])
     # chose the projection based on the range we have to cover
     if (longitudeRange > 180) or (latitudeRange > 90) :
         kwargs['projection'] = 'merc' # use a mercator projection to show the whole world