diff --git a/fpco-api.cabal b/fpco-api.cabal
--- a/fpco-api.cabal
+++ b/fpco-api.cabal
@@ -1,5 +1,5 @@
 name:                 fpco-api
-version:              1.1.1
+version:              1.1.1.1
 synopsis:             Simple interface to the FP Complete IDE API.
 description:          A server and library for communicating with the FP Complete IDE API.
 homepage:             https://www.fpcomplete.com/page/api
diff --git a/src/library/FP/API/Run.hs b/src/library/FP/API/Run.hs
--- a/src/library/FP/API/Run.hs
+++ b/src/library/FP/API/Run.hs
@@ -66,7 +66,7 @@
 runCommand :: (MonadLogger m,MonadClient m,Data a,Show a) => (Returns' a -> IdeCommand) -> m a
 runCommand cmd = do
   CC{..} <- getClientConfig
-  request <- parseUrl (T.unpack (ccUrl <> "/fay-command"))
+  request <- io $ parseUrl (T.unpack (ccUrl <> "/fay-command"))
   jar <- io $ readIORef ccCookie
   let req = urlEncodedBody params $ setup ccToken request (Just jar) ccUserAgent
   $(logDebug) ("=> " <> trunc (T.pack (show (IdeCommand (cmd Returns)))))
