diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
 Usage
 -----
 
-Cgrep 6.6.23. Usage: cgrep [OPTION] [PATTERN] files...
+Cgrep 6.6.24. Usage: cgrep [OPTION] [PATTERN] files...
 
 cgrep [OPTIONS] [ITEM]
 
diff --git a/cgrep.cabal b/cgrep.cabal
--- a/cgrep.cabal
+++ b/cgrep.cabal
@@ -1,6 +1,6 @@
 Name:                cgrep
 Description:         Cgrep: a context-aware grep for source codes
-Version:             6.6.23
+Version:             6.6.24
 Synopsis:            Command line tool
 Homepage:            http://awgn.github.io/cgrep/
 License:             GPL-2
diff --git a/src/Config.hs b/src/Config.hs
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -22,14 +22,10 @@
 
 module Config where
 
-import Data.List
-import Data.Char
-
 import Control.Monad
 import System.Directory
 import System.FilePath ((</>))
 import System.Console.ANSI
-import Data.Semigroup ((<>), Semigroup(..))
 
 import qualified Data.Yaml  as Y
 import Data.Aeson
@@ -88,6 +84,7 @@
                <*> v .:? "colors"           .!= False
                <*> v .:? "color_filename"   .!= Nothing
                <*> v .:? "color_match"      .!= Nothing
+ parseJSON _ = mzero
 
 
 getConfig :: IO (Config, Maybe FilePath)
@@ -97,7 +94,6 @@
     if notNull confs
         then do
             conf <- Y.decodeFileEither (head confs)
-            print conf
             case conf of
                 Left  e -> errorWithoutStackTrace $ Y.prettyPrintParseException e
                 Right yconf -> return (mkConfig yconf, Just (head confs))
