diff --git a/Controller.hs b/Controller.hs
--- a/Controller.hs
+++ b/Controller.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, OverloadedStrings #-}
+{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, OverloadedStrings, ViewPatterns #-}
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 module Controller
   ( withTKYProf
diff --git a/ProfilingReport.hs b/ProfilingReport.hs
--- a/ProfilingReport.hs
+++ b/ProfilingReport.hs
@@ -25,6 +25,7 @@
   ) where
 
 import Control.Applicative hiding (many)
+import Control.Monad.Catch (MonadThrow(..))
 import Data.Aeson
 import Data.Attoparsec.Char8 as A8
 import Data.Conduit.Attoparsec (sinkParser)
diff --git a/TKYProf.hs b/TKYProf.hs
--- a/TKYProf.hs
+++ b/TKYProf.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE QuasiQuotes, TemplateHaskell, TypeFamilies, OverloadedStrings #-}
+{-# LANGUAGE QuasiQuotes, TemplateHaskell, TypeFamilies, OverloadedStrings, ViewPatterns #-}
 module TKYProf
   ( TKYProf (..)
   , Route (..)
@@ -70,7 +70,7 @@
       $(Settings.widgetFile "header")
       widget
       toWidget $(Settings.luciusFile "templates/default-layout.lucius")
-    giveUrlRenderer $(Settings.hamletFile "templates/default-layout.hamlet")
+    withUrlRenderer $(Settings.hamletFile "templates/default-layout.hamlet")
 
   -- This function creates static content files in the static folder
   -- and names them based on a hash of their content. This allows
diff --git a/tkyprof.cabal b/tkyprof.cabal
--- a/tkyprof.cabal
+++ b/tkyprof.cabal
@@ -1,5 +1,5 @@
 name:                 tkyprof
-version:              0.2.2
+version:              0.2.2.2
 license:              BSD3
 license-file:         LICENSE
 author:               Mitsutoshi Aoe
@@ -58,9 +58,9 @@
   ghc-options:        -Wall -threaded
   extensions:         TemplateHaskell
   build-depends:      base >= 4 && < 5
-                    , aeson >= 0.3 && < 0.8
-                    , attoparsec >= 0.9 && < 0.12
-                    , attoparsec-conduit >= 1.0 && < 1.1
+                    , aeson >= 0.3 && < 0.10
+                    , attoparsec >= 0.9 && < 0.13
+                    , conduit-extra >= 1.0 && < 1.2
                     , bytestring >= 0.9 && < 0.11
                     , cmdargs >= 0.7 && < 0.11
                     , containers < 0.6
@@ -68,28 +68,27 @@
                     , directory < 2
                     , data-default < 0.6
                     , filepath >= 1.1 && < 2
-                    , hamlet >= 0.8 && < 1.2
                     , mtl >= 1.1 && < 3
                     , rosezipper >= 0.2 && < 0.3
                     , stm < 3
+                    , exceptions >= 0.8 && < 1.0
                     , template-haskell < 3
-                    , text >= 0.11 && < 1.1
-                    , time >= 1.2 && < 1.5
-                    , transformers >= 0.2 && < 0.4
+                    , text >= 0.11 && < 1.3
+                    , time >= 1.2 && < 1.6
+                    , transformers >= 0.2 && < 0.5
                     , vector >= 0.6 && < 1
-                    , wai >= 0.4 && < 2.1
-                    , wai-extra >= 0.4 && < 2.1
-                    , warp >= 0.4 && < 2.1
+                    , wai >= 0.4 && < 3.1
+                    , wai-extra >= 0.4 && < 3.2
+                    , warp >= 0.4 && < 3.1
                     , web-routes >= 0.23 && < 0.28
-                    , yesod >= 1.2 && < 1.3
-                    , yesod-core >= 1.2 && < 1.3
-                    , yesod-form >= 1.3 && < 1.4
-                    , yesod-static >= 1.2 && < 1.3
-                    , shakespeare-css >= 1.0 && < 1.1
-                    , shakespeare-js >= 1.0 && < 1.3
+                    , yesod >= 1.2 && < 1.5
+                    , yesod-core >= 1.2 && < 1.5
+                    , yesod-form >= 1.3 && < 1.5
+                    , yesod-static >= 1.2 && < 1.6
+                    , shakespeare >= 1.0 && < 2.1
                     , http-types >= 0.7 && < 1.0
-                    , conduit >= 1.0 && < 1.1
-                    , resourcet >= 0.4 && < 0.5
+                    , conduit >= 1.0 && < 1.3
+                    , resourcet >= 0.4 && < 1.2
 
 library
   if flag(devel)
@@ -118,4 +117,10 @@
 
 source-repository head
   type:               git
-  location:           git@github.com:maoe/tkyprof.git
+  branch:             develop
+  location:           https://github.com/maoe/tkyprof.git
+
+source-repository this
+  type:               git
+  tag:                v0.2.2.2
+  location:           https://github.com/maoe/tkyprof.git
