diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -210,7 +210,7 @@
 num is not 3, but #{num}.
 %{ of Nothing }
 num is not anything.
-%{ endif }
+%{ endcase }
 ```
 
 ```
@@ -219,7 +219,7 @@
 first num is #{n}.
 %{ of [] }
 no nums.
-%{ endif }
+%{ endcase }
 ```
 
 #### Why we do not provide `maybe` and `with`?
diff --git a/heterocephalus.cabal b/heterocephalus.cabal
--- a/heterocephalus.cabal
+++ b/heterocephalus.cabal
@@ -1,5 +1,5 @@
 name:                heterocephalus
-version:             1.0.5.0
+version:             1.0.5.1
 synopsis:            A type-safe template engine for working with popular front end development tools
 description:
     Recent front end development tools and languages are growing fast and have
