diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index d88173e66d6906a464c46a3d4bebe8098b4f6e2c..20e690be9a109b18fded70279389da366ccc11aa 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,6 +1,9 @@
 =========
 CHANGELOG
 =========
+- 1.2.2
+    Correct a major bug arising when a new enzyme is define with at least 3 amino acids while the first one being the cleaving site
+
 - 1.2.1
     Add functional tests
 
diff --git a/docs/conf.py b/docs/conf.py
index 4f33d040370234d039fa05b3233314b58a72b180..b725c54161897bb5cf4097bc7b21742e82c85aa0 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,7 @@ author = 'Nicolas Maillet'
 # The short X.Y version
 version = ''
 # The full version, including alpha/beta/rc tags
-release = '1.2.1'
+release = '1.2.2'
 
 
 # -- General configuration ---------------------------------------------------
diff --git a/rpg/RapidPeptidesGenerator.py b/rpg/RapidPeptidesGenerator.py
index 0dace5f69271b8c50ef2323cb3e3b1b5e17d9609..f7177d6105ae2217d4785a7f4e4850da1edbf92c 100644
--- a/rpg/RapidPeptidesGenerator.py
+++ b/rpg/RapidPeptidesGenerator.py
@@ -29,7 +29,7 @@
 necessary functions
 """
 
-__version_info__ = ('1', '2', '1')
+__version_info__ = ('1', '2', '2')
 __version__ = '.'.join(__version_info__)
 __revision_date__ = "2021-02-03"
 __author__ = "Nicolas Maillet"
diff --git a/setup.py b/setup.py
index ed894e34e962ca3379608407c5164ecc16280d03..e59629daec51363675f4ef906ba7b2dc29f9c137 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ setup(
     # For a discussion on single-sourcing the version across setup.py and the
     # project code, see
     # https://packaging.python.org/en/latest/single_source_version.html
-    version='1.2.1',  # Required
+    version='1.2.2',  # Required
 
     # This is a one-line description or tagline of what your project does. This
     # corresponds to the "Summary" metadata field: