diff --git a/examples/token/ERC20.hs b/examples/token/ERC20.hs
--- a/examples/token/ERC20.hs
+++ b/examples/token/ERC20.hs
@@ -9,4 +9,4 @@
 
 import           Network.Ethereum.Contract.TH
 
-[abiFrom|examples/ERC20.json|]
+[abiFrom|ERC20.json|]
diff --git a/examples/token/Main.hs b/examples/token/Main.hs
--- a/examples/token/Main.hs
+++ b/examples/token/Main.hs
@@ -5,6 +5,7 @@
 import           Data.Text                (unpack)
 import           Text.Printf              (printf)
 
+import           Lens.Micro               ((.~))
 import           Network.Ethereum.Account
 import           Network.Ethereum.Web3    hiding (name)
 
@@ -14,14 +15,12 @@
 main = do
     result <- runWeb3 $
         withAccount () $
-            airaToken $ do
+            withParam (to .~ "0xA2f4FCb0FDe2dD59f7a1873e121bc5623e3164Eb") $ do
                 n <- name
                 s <- symbol
                 d <- decimals
                 return $ printf "Token %s with symbol %s and decimals %d"
                    (unpack n) (unpack s) (fromIntegral d :: Int)
     case result of
-      Left err   -> error err
+      Left err   -> error (show err)
       Right info -> putStrLn info
-  where
-    airaToken = withParam $ to .~ "0xA2f4FCb0FDe2dD59f7a1873e121bc5623e3164Eb"
diff --git a/stack.yaml b/stack.yaml
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,5 +1,5 @@
 # Resolver to choose a 'specific' stackage snapshot or a compiler version.
-resolver: lts-12.14
+resolver: lts-12.19
 
 # User packages to be built.
 packages:
diff --git a/web3.cabal b/web3.cabal
--- a/web3.cabal
+++ b/web3.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 name: web3
-version: 0.8.2.0
+version: 0.8.2.1
 license: BSD3
 license-file: LICENSE
 copyright: (c) Alexander Krupenkin 2016
@@ -115,7 +115,7 @@
         cryptonite >=0.23 && <0.26,
         data-default >=0.7.1.1 && <0.8,
         exceptions >=0.8.3 && <0.11,
-        generics-sop >=0.3.1.0 && <0.4,
+        generics-sop >=0.3.1.0 && <0.5,
         http-client >=0.5.7.1 && <0.6,
         http-client-tls >=0.3.5.1 && <0.4,
         machines >=0.6.3 && <0.7,
@@ -180,10 +180,10 @@
         cryptonite >=0.23 && <0.26,
         data-default >=0.7.1.1 && <0.8,
         exceptions >=0.8.3 && <0.11,
-        generics-sop >=0.3.1.0 && <0.4,
-        hspec >=2.4.4 && <2.6,
+        generics-sop >=0.3.1.0 && <0.5,
+        hspec >=2.4.4 && <2.7,
         hspec-contrib >=0.4.0 && <0.6,
-        hspec-discover >=2.4.4 && <2.6,
+        hspec-discover >=2.4.4 && <2.7,
         hspec-expectations >=0.8.2 && <0.9,
         http-client >=0.5.7.1 && <0.6,
         http-client-tls >=0.3.5.1 && <0.4,
@@ -243,10 +243,10 @@
         cryptonite >=0.23 && <0.26,
         data-default >=0.7.1.1 && <0.8,
         exceptions >=0.8.3 && <0.11,
-        generics-sop >=0.3.1.0 && <0.4,
-        hspec >=2.4.4 && <2.6,
+        generics-sop >=0.3.1.0 && <0.5,
+        hspec >=2.4.4 && <2.7,
         hspec-contrib >=0.4.0 && <0.6,
-        hspec-discover >=2.4.4 && <2.6,
+        hspec-discover >=2.4.4 && <2.7,
         hspec-expectations >=0.8.2 && <0.9,
         http-client >=0.5.7.1 && <0.6,
         http-client-tls >=0.3.5.1 && <0.4,
