diff --git a/Network-NineP.cabal b/Network-NineP.cabal
--- a/Network-NineP.cabal
+++ b/Network-NineP.cabal
@@ -1,5 +1,5 @@
 Name:                Network-NineP
-Version:             0.4.7.2
+Version:             0.4.7.3
 Description:         A library providing one with a somewhat higher level interface to 9P2000 protocol than existing implementations. Designed to facilitate rapid development of synthetic filesystems.
 Synopsis:            High-level abstraction over 9P protocol
 Maintainer:          Sergey Alirzaev <zl29ah@gmail.com>
@@ -18,7 +18,7 @@
 Source-repository this
   type:              git
   location:          https://github.com/l29ah/Network-NineP.git
-  tag:               0.4.7.2
+  tag:               0.4.7.3
 
 Library
   Build-Depends:
@@ -29,15 +29,15 @@
     network >= 3.0 && < 3.2,
     network-bsd >= 2.8 && < 2.9,
     binary >= 0.5.1.0 && < 0.9,
-    mtl >= 2.1.2 && < 2.3,
+    mtl >= 2.1.2 && < 2.4,
     monad-loops >= 0.3.3.0 && < 0.5,
     regex-posix >= 0.95.2 && < 0.97,
     mstate >= 0.2.4 && < 0.3,
-    transformers >= 0.3.0.0 && < 0.6,
+    transformers >= 0.3.0.0 && < 0.7,
     stateref >= 0.3 && < 0.4,
     convertible >= 1.0.11.1 && < 1.2,
     exceptions >= 0.8.0.2 && < 0.11,
-    monad-peel >= 0.1.1 && < 0.3,
+    monad-peel >= 0.1.1 && < 0.4,
     hslogger >= 1.2.9 && < 1.4,
     async >= 2.2.1 && < 2.3
   Exposed-modules:
diff --git a/Network/NineP/Internal/Msg.hs b/Network/NineP/Internal/Msg.hs
--- a/Network/NineP/Internal/Msg.hs
+++ b/Network/NineP/Internal/Msg.hs
@@ -19,6 +19,7 @@
 
 import Control.Concurrent.MState hiding (put)
 import Control.Exception
+import Control.Monad
 import Control.Monad.EmbedIO
 import Control.Monad.Reader
 import Data.Binary.Put
