diff --git a/Database/RethinkDB/Datum.hs b/Database/RethinkDB/Datum.hs
--- a/Database/RethinkDB/Datum.hs
+++ b/Database/RethinkDB/Datum.hs
@@ -185,7 +185,7 @@
 
 type Array = Vector Datum
 type Object = HM.HashMap ST.Text Datum
-newtype GeoLine = GeoLine { geoLinePoints :: Vector LonLat } 
+newtype GeoLine = GeoLine { geoLinePoints :: Vector LonLat }
             deriving (Eq, Ord)
 newtype GeoPolygon = GeoPolygon { geoPolygonLines :: Vector (Vector LonLat) }
             deriving (Eq, Ord)
@@ -354,7 +354,7 @@
   J.Number s -> Number (toRealFloat s)
   J.String t -> String t
   J.Array v -> Array (fmap toJSONDatum v)
-  where 
+  where
     toLonLat [lon, lat] = J.Success $ LonLat lon lat
     toLonLat _ = J.Error "expected a pair"
 instance J.FromJSON Datum where
diff --git a/rethinkdb.cabal b/rethinkdb.cabal
--- a/rethinkdb.cabal
+++ b/rethinkdb.cabal
@@ -1,5 +1,5 @@
 name: rethinkdb
-version: 2.2.0.3
+version: 2.2.0.4
 cabal-version: >=1.8
 build-type: Simple
 license: Apache
@@ -28,7 +28,7 @@
         aeson >=0.7 && <0.12,
         bytestring ==0.10.*,
         containers ==0.5.*,
-        data-default ==0.5.*,
+        data-default >=0.5 && <0.7,
         network >=2.4 && <2.7,
         mtl >=2.1 && <2.3,
         vector >=0.10 && <0.12,
