diff --git a/Changes b/Changes
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+0.2.0.3:
+    Fix bug in powerMod
+0.2.0.2:
+    Relax bounds on array dependency for 7.4.*
 0.2.0.1:
     Fix copy-pasto (only relevant for 7.3.*)
     Fix imports for ghc >= 7.3
diff --git a/Math/NumberTheory/Moduli.hs b/Math/NumberTheory/Moduli.hs
--- a/Math/NumberTheory/Moduli.hs
+++ b/Math/NumberTheory/Moduli.hs
@@ -166,8 +166,8 @@
   where
     go 1 !a !s  = (a*s) `rem` md
     go e a s
-      | testBit e 0 = go (e `shiftR` 1) a ((s*s) `rem` md)
-      | otherwise   = go (e `shiftR` 1) ((a*s) `rem` md) ((s*s) `rem` md)
+      | testBit e 0 = go (e `shiftR` 1) ((a*s) `rem` md) ((s*s) `rem` md)
+      | otherwise   = go (e `shiftR` 1) a ((s*s) `rem` md)
 
 -- | Specialised version of 'powerMod' for 'Integer' exponents.
 --   Reduces the number of shifts of the exponent since shifting
diff --git a/arithmoi.cabal b/arithmoi.cabal
--- a/arithmoi.cabal
+++ b/arithmoi.cabal
@@ -1,5 +1,5 @@
 name                : arithmoi
-version             : 0.2.0.2
+version             : 0.2.0.3
 cabal-version       : >= 1.6
 author              : Daniel Fischer
 copyright           : (c) 2011 Daniel Fischer
