diff --git a/Gamgine.cabal b/Gamgine.cabal
--- a/Gamgine.cabal
+++ b/Gamgine.cabal
@@ -1,6 +1,6 @@
 cabal-version:      >=1.10
 name:               Gamgine
-version:            0.6.0
+version:            0.7.0
 license:            BSD3
 license-file:       LICENSE
 maintainer:         daniel.trstenjak@gmail.com
@@ -52,32 +52,32 @@
         Gamgine.Lens.IORef
         Gamgine.Lens.State
 
-    build-tools:      cpphs >=1.18.4 && <1.21
-    cpp-options:      -DCABAL
-    cc-options:       -Wno-unused-result
-    c-sources:        c_libraries/glf/glf.c
-    default-language: Haskell2010
+    build-tools:        cpphs >=1.18.4 && <1.21
+    cpp-options:        -DCABAL
+    cc-options:         -Wno-unused-result
+    c-sources:          c_libraries/glf/glf.c
+    default-language:   Haskell2010
     default-extensions: CPP
-    include-dirs:     . Gamgine c_libraries/glf
-    includes:         glf.h
-    ghc-options:      -pgmPcpphs -optP--cpp
+    include-dirs:       . Gamgine c_libraries/glf
+    includes:           glf.h
+    ghc-options:        -pgmPcpphs -optP--cpp
     build-depends:
         base >3 && <5,
         GLFW-b >=1.0 && <3.4,
         OpenGLRaw >=3.0.0.0 && <3.4,
-        mtl >=2.1.3.1 && <2.3,
-        time >=1.4.0.1 && <1.10,
+        mtl >=2.1.3.1 && <2.4,
+        time >=1.4.0.1 && <1.13,
         Vec >=1.0.1 && <1.1,
         utility-ht >=0.0.10 && <0.1,
         directory >=1.2.0.1 && <1.4,
         StateVar >=1.0.0.0 && <1.3,
         array >=0.4.0.1 && <0.6,
-        bytestring >=0.10.0.2 && <0.11,
+        bytestring >=0.10.0.2 && <0.13,
         unordered-containers >=0.2.4.0 && <0.3,
-        data-lens >=2.10.4 && <2.12,
+        data-lens-light >=0.1.2.4 && <0.2,
         pretty-show >=1.6.7 && <1.11,
-        filepath >=1.3.0.1 && <1.5,
+        filepath >=1.3.0.1 && <1.6,
         parsec >=3.1.5 && <3.2,
-        zlib >=0.5.4.1 && <0.7,
+        zlib >=0.5.4.1 && <0.8,
         ListZipper >=1.2.0.2 && <1.3,
         composition >=1.0.1.0 && <1.1
diff --git a/Gamgine/Image/PNG.hs b/Gamgine/Image/PNG.hs
--- a/Gamgine/Image/PNG.hs
+++ b/Gamgine/Image/PNG.hs
@@ -42,6 +42,7 @@
 import System.IO
 
 import Control.Monad.Except
+import Control.Monad (when, liftM3)
 
 import Gamgine.Image.PNG.Internal.Parser
 import Gamgine.Image.PNG.Internal.CRC
diff --git a/Gamgine/Utils.cpp b/Gamgine/Utils.cpp
--- a/Gamgine/Utils.cpp
+++ b/Gamgine/Utils.cpp
@@ -22,7 +22,7 @@
 
 #define SHOWLN(x)       (#x ++ "=" ++ (show (x)) ++ "\n")
 
-#define IMPORT_LENS_AS_LE import qualified Data.Lens.Strict as LE; \
+#define IMPORT_LENS_AS_LE import qualified Data.Lens.Light as LE; \
                           import Control.Category ((.)); \
                           import Prelude hiding ((.)); \
 
