diff --git a/lib/geo.js b/lib/geo.js
index 6ef18d09..69f781ce 100644
--- a/lib/geo.js
+++ b/lib/geo.js
@@ -13,7 +13,7 @@ exports.filter = function (arr, filter) {
     // filter out objects without locations
     if(!loc) return;
     if(typeof loc.lat !== 'number') return;
-    if(typeof loc.long !== 'number') return;
+    if(typeof loc.lng !== 'number') return;
     
     var d = distanceBetween(origin, loc);
     
@@ -46,7 +46,7 @@ var distanceBetween = exports.distanceBetween = function distanceBetween(a, b) {
   var ys = 0;
   xs = a.lat - b.lat;
   xs = xs * xs;
-  ys = a.long - b.long;
+  ys = a.lng - b.lng;
   ys = ys * ys;
   
   return Math.sqrt( xs + ys );