diff --git a/bff-cgi.hs b/bff-cgi.hs
--- a/bff-cgi.hs
+++ b/bff-cgi.hs
@@ -68,7 +68,10 @@
 	)
        
 
-cdata s = primHtml ("<![CDATA[\n"++ s ++ "\n]]>")
+cdata s = primHtml $ 
+    -- ("<![CDATA[\n"++ 
+    s
+    --  ++ "\n]]>")
 
 maindiv = thediv ! [theclass "main"]
         
@@ -175,7 +178,7 @@
 		   
 
 cgiMain = do
-        setHeader "Content-type" "text/xml; charset=UTF-8"
+        setHeader "Content-type" "text/html; charset=UTF-8"
 	
 	-- the next piece of code is not to be take seious
 	todo <- (fromMaybe Check . listToMaybe . catMaybes) `fmap`
diff --git a/bff.cabal b/bff.cabal
--- a/bff.cabal
+++ b/bff.cabal
@@ -1,5 +1,5 @@
 name:           bff
-version:        0.3.1
+version:        0.3.1.1
 license:        PublicDomain
 description:
         This is an implementation of the ideas presented in "Bidirectionalization
@@ -77,7 +77,7 @@
                 MyInterpret
         if flag(binaries)
                 build-depends:
-                        base >= 2 && < 5, directory, xhtml, cgi, hint >= 0.3.2, utf8-string
+                        base >= 4 && < 5, directory, xhtml, cgi, hint >= 0.3.2, utf8-string
                 buildable: True 
         else
                 buildable: False
