diff --git a/Distribution/Cab/Commands.hs b/Distribution/Cab/Commands.hs
--- a/Distribution/Cab/Commands.hs
+++ b/Distribution/Cab/Commands.hs
@@ -121,7 +121,7 @@
 
 check :: FunctionCommand
 check _ _ _ = do
-    sandboxOpts <- getSandboxOpts <$> getSandbox
+    sandboxOpts <- getSandboxOpts2 <$> getSandbox
     void . system $ script sandboxOpts
   where
     script sandboxOpts = "ghc-pkg check -v " ++ sandboxOpts
diff --git a/cab.cabal b/cab.cabal
--- a/cab.cabal
+++ b/cab.cabal
@@ -1,5 +1,5 @@
 Name:                   cab
-Version:                0.2.2
+Version:                0.2.3
 Author:                 Kazu Yamamoto <kazu@iij.ad.jp>
 Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp>
 License:                BSD3
