diff --git a/src/Language/Lexer/Tlex/Plugin/Debug.hs b/src/Language/Lexer/Tlex/Plugin/Debug.hs
--- a/src/Language/Lexer/Tlex/Plugin/Debug.hs
+++ b/src/Language/Lexer/Tlex/Plugin/Debug.hs
@@ -5,10 +5,10 @@
 
 import           Language.Lexer.Tlex.Prelude
 
+import qualified Data.EnumMap.Strict                       as EnumMap
 import qualified Data.HashMap.Strict                       as HashMap
 import qualified Data.IntMap.Strict                        as IntMap
 import qualified Data.IntSet                               as IntSet
-import qualified Language.Lexer.Tlex.Data.EnumMap          as EnumMap
 import qualified Language.Lexer.Tlex.Machine.DFA           as DFA
 import qualified Language.Lexer.Tlex.Machine.State         as MState
 import qualified Language.Lexer.Tlex.Plugin.Debug.Graphviz as Graphviz
diff --git a/test/doctest/Doctest.hs b/test/doctest/Doctest.hs
--- a/test/doctest/Doctest.hs
+++ b/test/doctest/Doctest.hs
@@ -3,10 +3,11 @@
 import           Prelude
 
 import qualified Build_doctests     as BuildF
+import qualified Control.Exception  as Exception
 import           Control.Monad
 import qualified System.Environment as IO
 import qualified System.IO          as IO
-import           Test.DocTest       (doctest)
+import qualified Test.DocTest       as DocTest
 
 main :: IO ()
 main = forM_ BuildF.components \(BuildF.Component name flags pkgs sources) -> do
@@ -16,6 +17,7 @@
   IO.hFlush IO.stdout
   let args = flags ++ pkgs ++ sources
   IO.unsetEnv "GHC_ENVIRONMENT"
-  doctest args
+  DocTest.doctest args `Exception.catch`
+    \(e :: Exception.SomeException) -> print e
   putStrLn "============================================="
   IO.hFlush IO.stdout
diff --git a/tlex-debug.cabal b/tlex-debug.cabal
--- a/tlex-debug.cabal
+++ b/tlex-debug.cabal
@@ -2,7 +2,7 @@
 build-type:          Custom
 
 name:                tlex-debug
-version:             0.2.0.0
+version:             0.3.0.0
 license:             Apache-2.0 OR MPL-2.0
 license-file:        LICENSE
 copyright:           (c) 2021 Mizunashi Mana
@@ -89,13 +89,14 @@
             -dcore-lint
 
     build-depends:
-        base                 >= 4.12.0 && < 4.15,
+        base                 >= 4.12.0  && < 4.15,
 
         -- project depends
-        tlex-core            >= 0.1.0 && < 0.3,
-        tlex                 >= 0.1.0 && < 0.3,
-        containers           >= 0.6.0 && < 0.7,
-        unordered-containers >= 0.2.13 && < 0.3,
+        tlex-core            >= 0.3.0   && < 0.4,
+        tlex                 >= 0.3.0   && < 0.4,
+        containers           >= 0.6.0   && < 0.7,
+        enummapset-th        >= 0.6.0   && < 0.7,
+        unordered-containers >= 0.2.13  && < 0.3,
 
     autogen-modules:
         Paths_tlex_debug
