diff --git a/Text/CSS/CleverCSS.hs b/Text/CSS/CleverCSS.hs
--- a/Text/CSS/CleverCSS.hs
+++ b/Text/CSS/CleverCSS.hs
@@ -1,7 +1,7 @@
 ------------------------------------------------------------------------------------------
 -- |
 -- Module      :  Text.CSS.CleverCSS
--- Copyright   :  (c) 2007-2010 Georg Brandl
+-- Copyright   :  (c) 2007-2011 Georg Brandl
 -- License     :  BSD (see the file LICENSE)
 --
 -- Main parsing and evaluation module for CleverCSS.
diff --git a/Text/CSS/CleverCSSUtil.hs b/Text/CSS/CleverCSSUtil.hs
--- a/Text/CSS/CleverCSSUtil.hs
+++ b/Text/CSS/CleverCSSUtil.hs
@@ -1,7 +1,7 @@
 -----------------------------------------------------------------------------------------
 -- |
 -- Module      :  Text.CSS.CleverCSSUtil
--- Copyright   :  (c) 2007-2010 Georg Brandl
+-- Copyright   :  (c) 2007-2011 Georg Brandl
 -- License     :  BSD (see the file LICENSE)
 --
 -- CleverCSS utilities.
@@ -350,4 +350,4 @@
 showRat :: Rational -> String
 showRat r | rest == 0 = show whole
           | otherwise = printf "%f" (fromRational r :: Double)
-  where (whole, rest) = (denominator r) `divMod` (numerator r)
+  where (whole, rest) = (numerator r) `divMod` (denominator r)
diff --git a/clevercss.cabal b/clevercss.cabal
--- a/clevercss.cabal
+++ b/clevercss.cabal
@@ -1,6 +1,6 @@
 cabal-version: >=1.2
 Name: clevercss
-Version: 0.2.3
+Version: 0.2.4
 Category: Text
 Synopsis: A CSS preprocessor
 Description: CleverCSS is a CSS preprocessing library that allows defining variables and nesting selectors so that you don't need to Repeat Yourself.
@@ -19,7 +19,7 @@
 Library
   Build-Depends: base >= 4 && < 5, containers, mtl
   If flag(parsec2)
-    Build-Depends: parsec >= 2.1
+    Build-Depends: parsec >= 2.1 && < 3
     CPP-Options: -DPARSEC2
   Else
     Build-Depends: parsec >= 3 && < 4
@@ -33,7 +33,7 @@
   Extensions: PatternGuards
   GHC-Options: -funbox-strict-fields
   If flag(parsec2)
-    Build-Depends: parsec >= 2.1
+    Build-Depends: parsec >= 2.1 && < 3
     CPP-Options: -DPARSEC2
   Else
     Build-Depends: parsec >= 3 && < 4
