diff --git a/src/Main.hs b/src/Main.hs
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -1,5 +1,3 @@
-{-# LANGUAGE DeriveGeneric #-}
-{-# LANGUAGE OverloadedStrings #-}
 import Data.Version (showVersion)
 import Paths_sync_mht (version)
 import System.Environment
diff --git a/src/Sync/MerkleTree/Util/RequestMonad.hs b/src/Sync/MerkleTree/Util/RequestMonad.hs
--- a/src/Sync/MerkleTree/Util/RequestMonad.hs
+++ b/src/Sync/MerkleTree/Util/RequestMonad.hs
@@ -145,7 +145,6 @@
              ST.write (Just "") os
              maybe (return ()) (const loop) mBs
 
-
 receiverThread ::
     IORef Int
     -> SendQueue
diff --git a/src/Test.hs b/src/Test.hs
--- a/src/Test.hs
+++ b/src/Test.hs
@@ -1,7 +1,7 @@
+import Control.Monad
 import qualified Sync.MerkleTree.Sync as S
 import qualified Sync.MerkleTree.Test as T
 import qualified Sync.MerkleTree.Trie as TR
-import Control.Monad
 import qualified Test.HUnit as H
 
 main =
@@ -9,4 +9,4 @@
        putStrLn "Running tests:"
        forM (H.testCasePaths allTests) $ putStrLn . ("   " ++) . show
        counts <- H.runTestTT allTests
-       unless (H.errors counts == 0 && H.failures counts == 0) $ fail $ show counts
+       unless (H.errors counts == 0 && H.failures counts == 0) $ fail "Tests failed."
diff --git a/sync-mht.cabal b/sync-mht.cabal
--- a/sync-mht.cabal
+++ b/sync-mht.cabal
@@ -8,7 +8,7 @@
 extra-doc-files: README.md
 cabal-version: >= 1.18
 build-type: Simple
-version: 0.3.8.3
+version: 0.3.8.4
 homepage: https://github.com/ekarayel/sync-mht
 bug-reports: https://github.com/ekarayel/sync-mht/issues
 package-url: https://github.com/ekarayel/sync-mht
@@ -29,20 +29,20 @@
     location: https://github.com/ekarayel/sync-mht
 source-repository this
     type: git
-    tag: 0.3.8.3
+    tag: 0.3.8.4
     location: https://github.com/ekarayel/sync-mht
 benchmark benchmarks
     type: exitcode-stdio-1.0
     main-is: Benchmarks.hs
     build-depends:
         base >=4.7 && <4.9
-        , process >= 1.2 && <1.3
-        , bytestring >=0.10 && <0.11
-        , aeson >= 0.8 && < 1.0
-        , time >= 1.4 && < 1.6
-        , filepath >=1.3 && <1.5
-        , directory >=1.2 && <1.3
-        , temporary >= 1.2 && < 1.3
+        , process >= 1.2
+        , bytestring >=0.10
+        , aeson >= 0.8
+        , time >= 1.4
+        , filepath >=1.3
+        , directory >=1.2
+        , temporary >= 1.2
     hs-source-dirs: src
     default-language: Haskell2010
 test-suite main
@@ -62,29 +62,29 @@
         Sync.MerkleTree.Test
     build-depends: 
         base >=4.7 && <4.9
-        , unix >=2.7 && <2.8
-        , directory >=1.2 && <1.3
-        , filepath >=1.3 && <1.5
-        , process >= 1.2 && <1.3
-        , cryptohash >=0.11 && <0.12
-        , exceptions >=0.7 && <0.9
-        , byteable >=0.1 && <0.2
-        , array >=0.5 && <0.6
-        , containers >=0.5 && <0.6
-        , text >=1.1 && <1.3
-        , bytestring >=0.10 && <0.11
+        , unix >=2.7
+        , directory >=1.2
+        , filepath >=1.3
+        , process >= 1.2
+        , cryptohash >=0.11
+        , exceptions >=0.7
+        , byteable >=0.1
+        , array >=0.5
+        , containers >=0.5
+        , text >=1.1
+        , bytestring >=0.10
         , bytes >= 0.15
-        , base16-bytestring >=0.1 && <0.2
-        , cereal >= 0.4 && < 0.5
-        , io-streams >= 1.2 && <1.4
-        , transformers >= 0.3 && < 0.5
-        , regex-compat >= 0.95 && < 0.96
-        , mtl >= 2.1 && < 2.3
-        , zlib >= 0.5 && < 0.7
-        , time >= 1.4 && < 1.6
-        , random >= 1.0 && < 1.2
-        , HUnit >= 1.2 && < 1.3
-        , temporary >= 1.2 && < 1.3
+        , base16-bytestring >=0.1
+        , cereal >= 0.4
+        , io-streams >= 1.2
+        , transformers >= 0.3
+        , regex-compat >= 0.95
+        , mtl >= 2.1
+        , zlib >= 0.5
+        , time >= 1.4
+        , random >= 1.0
+        , HUnit >= 1.2
+        , temporary >= 1.2
     hs-source-dirs: src
     default-language: Haskell2010
 executable sync-mht
@@ -103,29 +103,29 @@
     ghc-options: -Wall
     build-depends: 
         base >=4.7 && <4.9
-        , unix >=2.7 && <2.8
-        , directory >=1.2 && <1.3
-        , filepath >=1.3 && <1.5
-        , process >= 1.2 && <1.3
-        , cryptohash >=0.11 && <0.12
-        , exceptions >=0.7 && <0.9
-        , byteable >=0.1 && <0.2
-        , array >=0.5 && <0.6
-        , containers >=0.5 && <0.6
-        , text >=1.1 && <1.3
-        , bytestring >=0.10 && <0.11
+        , unix >=2.7
+        , directory >=1.2
+        , filepath >=1.3
+        , process >= 1.2
+        , cryptohash >=0.11
+        , exceptions >=0.7
+        , byteable >=0.1
+        , array >=0.5
+        , containers >=0.5
+        , text >=1.1
+        , bytestring >=0.10
         , bytes >= 0.15
-        , base16-bytestring >=0.1 && <0.2
-        , cereal >= 0.4 && < 0.5
-        , io-streams >= 1.2 && <1.4
-        , transformers >= 0.3 && < 0.5
-        , regex-compat >= 0.95 && < 0.96
-        , mtl >= 2.1 && < 2.3
-        , zlib >= 0.5 && < 0.7
-        , time >= 1.4 && < 1.6
-        , random >= 1.0 && < 1.2
-        , HUnit >= 1.2 && < 1.3
-        , temporary >= 1.2 && < 1.3
+        , base16-bytestring >=0.1
+        , cereal >= 0.4
+        , io-streams >= 1.2
+        , transformers >= 0.3
+        , regex-compat >= 0.95
+        , mtl >= 2.1
+        , zlib >= 0.5
+        , time >= 1.4
+        , random >= 1.0
+        , HUnit >= 1.2
+        , temporary >= 1.2
     hs-source-dirs: src
     default-language: Haskell2010
 library
@@ -143,28 +143,28 @@
     ghc-options: -Wall
     build-depends: 
         base >=4.7 && <4.9
-        , unix >=2.7 && <2.8
-        , directory >=1.2 && <1.3
-        , filepath >=1.3 && <1.5
-        , process >= 1.2 && <1.3
-        , cryptohash >=0.11 && <0.12
-        , exceptions >=0.7 && <0.9
-        , byteable >=0.1 && <0.2
-        , array >=0.5 && <0.6
-        , containers >=0.5 && <0.6
-        , text >=1.1 && <1.3
-        , bytestring >=0.10 && <0.11
+        , unix >=2.7
+        , directory >=1.2
+        , filepath >=1.3
+        , process >= 1.2
+        , cryptohash >=0.11
+        , exceptions >=0.7
+        , byteable >=0.1
+        , array >=0.5
+        , containers >=0.5
+        , text >=1.1
+        , bytestring >=0.10
         , bytes >= 0.15
-        , base16-bytestring >=0.1 && <0.2
-        , cereal >= 0.4 && < 0.5
-        , io-streams >= 1.2 && <1.4
-        , transformers >= 0.3 && < 0.5
-        , regex-compat >= 0.95 && < 0.96
-        , mtl >= 2.1 && < 2.3
-        , zlib >= 0.5 && < 0.7
-        , time >= 1.4 && < 1.6
-        , random >= 1.0 && < 1.2
-        , HUnit >= 1.2 && < 1.3
-        , temporary >= 1.2 && < 1.3
+        , base16-bytestring >=0.1
+        , cereal >= 0.4
+        , io-streams >= 1.2
+        , transformers >= 0.3
+        , regex-compat >= 0.95
+        , mtl >= 2.1
+        , zlib >= 0.5
+        , time >= 1.4
+        , random >= 1.0
+        , HUnit >= 1.2
+        , temporary >= 1.2
     hs-source-dirs: src
     default-language: Haskell2010
