diff --git a/Yesod/Goodies/PNotify.hs b/Yesod/Goodies/PNotify.hs
--- a/Yesod/Goodies/PNotify.hs
+++ b/Yesod/Goodies/PNotify.hs
@@ -46,23 +46,23 @@
 notifyKey :: Text
 notifyKey = "_PNotify"
 
-_setPNotify :: [PNotify] -> GHandler sub master ()
+_setPNotify :: [PNotify] -> HandlerT site IO ()
 _setPNotify = setSession notifyKey . T.concat . TL.toChunks . TL.pack . show
 
-getPNotify :: GHandler sub master (Maybe [PNotify])
+getPNotify :: HandlerT site IO (Maybe [PNotify])
 getPNotify = runMaybeT $ do
   ns <- MaybeT $ lookupSession notifyKey
   lift $ deleteSession notifyKey
   return $ read $ T.unpack ns
 
-setPNotify :: PNotify -> GHandler sub master ()
+setPNotify :: PNotify -> HandlerT site IO ()
 setPNotify n = do
   mns <- getPNotify
   _setPNotify (n:maybe [] id mns)
 
-pnotify :: YesodJqueryPnotify m => m -> GWidget s m ()
+pnotify :: YesodJqueryPnotify site => site -> WidgetT site IO ()
 pnotify y = do
-  mnotify <- lift getPNotify
+  mnotify <- handlerToWidget getPNotify
   case mnotify of
     Nothing -> return ()
     Just ps -> do
diff --git a/yesod-pnotify.cabal b/yesod-pnotify.cabal
--- a/yesod-pnotify.cabal
+++ b/yesod-pnotify.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                yesod-pnotify
-version:             0.3.0.0
+version:             0.4.0.0
 synopsis:            Yet another getMessage/setMessage using pnotify jquery plugins
 description:         Yet another getMessage/setMessage using pnotify jquery plugins
 homepage:            https://github.com/cutsea110/yesod-pnotify
@@ -18,9 +18,9 @@
 library
   exposed-modules:     Yesod.Goodies.PNotify
   -- other-modules:       
-  build-depends:         base >= 4.5 && < 4.6
-                       , yesod >= 1.1 && < 1.2
-                       , yesod-form >= 1.2 && < 1.3
+  build-depends:         base >= 4.6 && < 4.7
+                       , yesod >= 1.2 && < 1.3
+                       , yesod-form >= 1.3 && < 1.4
                        , text >= 0.11 && < 0.12
                        , transformers >= 0.3 && < 0.4
                        , shakespeare-js >= 1.1 && < 1.2
