diff --git a/mig-wai.cabal b/mig-wai.cabal
--- a/mig-wai.cabal
+++ b/mig-wai.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:               mig-wai
-version:            0.1.0.0
+version:            0.1.0.1
 synopsis:           Render mig-servers as wai-applications
 description:        Library to render mig-servers as WAI-applications.
 category:           Web
@@ -43,7 +43,7 @@
     , containers
     , data-default
     , exceptions
-    , mig >=0.2
+    , mig >=0.2.0.1
     , text
     , wai
   default-language: GHC2021
diff --git a/src/Mig/Server/Wai.hs b/src/Mig/Server/Wai.hs
--- a/src/Mig/Server/Wai.hs
+++ b/src/Mig/Server/Wai.hs
@@ -45,10 +45,11 @@
   | -- | no optimization (prefer it for small servers)
     PlainFinder
 
--- | Converts mig server to WAI-application.
--- Note that only IO-based servers are supported. To use custom monad
--- we can use @hoistServer@ function which renders monad to IO based or
--- the class @HasServer@ which defines such transformatio for several useful cases.
+{-| Converts mig server to WAI-application.
+Note that only IO-based servers are supported. To use custom monad
+we can use @hoistServer@ function which renders monad to IO based or
+the class @HasServer@ which defines such transformatio for several useful cases.
+-}
 toApplication :: ServerConfig -> Server IO -> Wai.Application
 toApplication config = case config.cache of
   Just cacheConfig ->
