diff --git a/BioHMM.cabal b/BioHMM.cabal
--- a/BioHMM.cabal
+++ b/BioHMM.cabal
@@ -1,5 +1,5 @@
 name:                BioHMM
-version:             1.0.6
+version:             1.0.7
 synopsis:            Libary for Hidden Markov Models in HMMER3 format. 
 description:         Libary containing parsing and visualisation functions and datastructures for Hidden Markov Models in HMMER3 format.  
 license:             GPL-3
@@ -20,8 +20,8 @@
 
 source-repository this
   type:     git
-  location: https://github.com/eggzilla/BioHMM/tree/1.0.6
-  tag:      1.0.6
+  location: https://github.com/eggzilla/BioHMM/tree/1.0.7
+  tag:      1.0.7
 
 library
   -- Modules exported by the library.
@@ -31,7 +31,7 @@
                      Bio.HMMCompareResult
 
   -- compiler-options:
-  ghc-options:         -Wall -O2 -fno-warn-unused-do-bind
+  ghc-options:         -Wall -fno-warn-unused-do-bind
 
   -- Other library packages from which modules are imported.
   build-depends:       base >=4.5 && <5, parsec>=3.1.9, diagrams-lib>=1.3, text, vector, ParsecTools, diagrams-cairo>=1.3, filepath, colour, directory, either-unwrap, SVGFonts >= 1.6, StockholmAlignment
diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,4 +1,6 @@
 -*-change-log-*-
+1.0.7 Florian Eggenhofer <egg@informatik.uni-freiburg.de> 19. March 2017
+	* Fixed a bug with incorrectly set transition cutoff
 1.0.6 Florian Eggenhofer <egg@informatik.uni-freiburg.de> 15. March 2017
 	* Added cutoff for displayed transition probabilities
 	* Improvements for detailed node layout
diff --git a/src/Bio/HMMDraw.hs b/src/Bio/HMMDraw.hs
--- a/src/Bio/HMMDraw.hs
+++ b/src/Bio/HMMDraw.hs
@@ -121,7 +121,7 @@
         safeLength = if rowStart + rowLength >= nodeNumber then nodeNumber - rowStart else rowLength
 
 drawDetailedNodeRow :: String -> String -> Double -> Double -> Int -> V.Vector HM.HMMER3Node -> V.Vector (Int,V.Vector (Colour Double)) -> (Int, Int) -> QDiagram Cairo V2 Double Any
-drawDetailedNodeRow alphabetSymbols emissiontype transitionCutoff boxLength lastIndex allNodes comparisonNodeLabels (currentIndex,nodeSliceLength) = detailedRow
+drawDetailedNodeRow alphabetSymbols emissiontype boxLength transitionCutoff lastIndex allNodes comparisonNodeLabels (currentIndex,nodeSliceLength) = detailedRow
   where currentNodes = V.slice currentIndex nodeSliceLength allNodes
         --withLastRowNodes = V.slice (currentIndex -1) (nodeSliceLength +1) allNodes
         detailedRow = applyAll (lastRowList ++ arrowList ++ labelList) detailedNodes
