diff --git a/cndict.cabal b/cndict.cabal
--- a/cndict.cabal
+++ b/cndict.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                cndict
-version:             0.7.3
+version:             0.7.4
 synopsis:            Chinese/Mandarin <-> English dictionary, Chinese lexer.
 -- description:
 license:             PublicDomain
diff --git a/src/Data/Chinese/CCDict.hs b/src/Data/Chinese/CCDict.hs
--- a/src/Data/Chinese/CCDict.hs
+++ b/src/Data/Chinese/CCDict.hs
@@ -117,7 +117,7 @@
       Just (first, _newUpper) ->
         scrapeEntry ccDict first key
     where
-      (upper, lower) = bounds ccDict
+      (lower, upper) = bounds ccDict
 
 scrapeEntry :: CCDict -> Int -> Text -> Maybe Entry
 scrapeEntry dict nth key =
