diff --git a/acid-state.cabal b/acid-state.cabal
--- a/acid-state.cabal
+++ b/acid-state.cabal
@@ -7,7 +7,7 @@
 -- The package version. See the Haskell package versioning policy
 -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
 -- standards guiding when and how versions should be incremented.
-Version:             0.5.1
+Version:             0.5.2
 
 -- A short (one-line) description of the package.
 Synopsis:            Add ACID guarantees to any serializable Haskell data structure.
@@ -55,7 +55,7 @@
                        Data.Acid.TemplateHaskell, Data.Acid.Common, FileIO
   
   -- Packages needed in order to build this package.
-  Build-depends:       base >= 4 && < 5, cereal >= 0.3.2.0, safecopy >= 0.5, bytestring, stm,
+  Build-depends:       base >= 4 && < 5, cereal >= 0.3.2.0, safecopy == 0.5.* , bytestring, stm,
                        filepath, directory, mtl, array, containers, template-haskell
 
   if os(windows)
diff --git a/examples/KeyValue.hs b/examples/KeyValue.hs
--- a/examples/KeyValue.hs
+++ b/examples/KeyValue.hs
@@ -2,7 +2,6 @@
 module Main (main) where
 
 import Data.Acid
-import qualified Data.Acid.Memory.Pure as Pure
 
 import Control.Monad.State
 import Control.Monad.Reader
diff --git a/examples/StressTest.hs b/examples/StressTest.hs
--- a/examples/StressTest.hs
+++ b/examples/StressTest.hs
@@ -3,7 +3,6 @@
 
 import Data.Acid (makeAcidic)
 import Data.Acid.Local
-import qualified Data.Acid.Memory.Pure as Pure
 
 import Control.Monad.State
 import Control.Monad.Reader
diff --git a/src/Data/Acid/Log.hs b/src/Data/Acid/Log.hs
--- a/src/Data/Acid/Log.hs
+++ b/src/Data/Acid/Log.hs
@@ -170,6 +170,7 @@
              firstEntryId = case relevant of
                               []                     -> 0
                               ( logFile : _logFiles) -> rangeStart logFile
+
          archive <- liftM Lazy.concat $ mapM (Lazy.readFile . snd) relevant
          let entries = entriesToList $ readEntries archive
          return $ map decode'
