diff --git a/Data/Bson.hs b/Data/Bson.hs
--- a/Data/Bson.hs
+++ b/Data/Bson.hs
@@ -60,7 +60,7 @@
 -- ^ Round second number to nearest multiple of first number. Eg: roundTo (1/1000) 0.12345 = 0.123
 roundTo mult n = fromIntegral (round (n / mult)) * mult
 
-showHexLen :: (Integral n) => Int -> n -> ShowS
+showHexLen :: (Show n, Integral n) => Int -> n -> ShowS
 -- ^ showHex of n padded with leading zeros if necessary to fill d digits
 showHexLen d n = showString (replicate (d - sigDigits n) '0') . showHex n  where
 	sigDigits 0 = 1
diff --git a/bson.cabal b/bson.cabal
--- a/bson.cabal
+++ b/bson.cabal
@@ -1,5 +1,5 @@
 Name: bson
-Version: 0.1.6
+Version: 0.1.7
 Synopsis: BSON documents are JSON-like objects with a standard binary encoding
 Description: A BSON Document is an untyped (dynamically type-checked) record. I.e. it is a list of name-value pairs, where a Value is a single sum type with constructors for basic types (Bool, Int, Float, String, and Time), compound types (List, and (embedded) Document), and special types (Binary, Javascript, ObjectId, RegEx, and a few others).
 	.
@@ -8,8 +8,8 @@
 Category: Data
 Homepage: http://github.com/TonyGen/bson-haskell
 Author: Tony Hannan
-Maintainer: Tony Hannan <tony@10gen.com>
-
+Maintainer: Tony Hannan <tonyhannan@gmail.com>
+Copyright: Copyright (c) 2010-2012 10gen Inc.
 License: OtherLicense
 License-file: LICENSE
 cabal-version: >= 1.8
