diff --git a/binary_dna_conversion.py b/binary_dna_conversion.py
index 77d56bc8f102c6f7689ad6461cd13bfea6ef3eb3..565acc2fcb0bf683544c4398ca01eab402554b03 100755
--- a/binary_dna_conversion.py
+++ b/binary_dna_conversion.py
@@ -29,7 +29,7 @@ def bit_to_dna_balance_GC(bit_char: str, reference_base: str):
         return bit_to_dna_AT[bit_char]
 
 
-def forbidden_rest_abaab(binary_string_size: str) -> bool:
+def forbidden_rest_abaab(binary_string_size: int) -> bool:
     """
     return True if the binary is of a length that cannot be converted by the abaab method
     """
@@ -45,7 +45,7 @@ def binary_to_dna_abaab(binary_string: str) -> str:
                           4th 5th bits are normally converted into dna
                           6th 7th bits are normally converted into dna
                           8th bit is converted depending on previous conversion : if previous in {AT}, then (0:G, 1:C), elif in {GC}, then (0:A, 1:T)
-    this ensure that the total sequence cannot contain homopolymers > 3,
+    this ensures that the total sequence cannot contain homopolymers > 3,
     the GC% is in [40%, 60%] in a window of 5 and the conversion rate is 1.6 bit/base
     
     warning : need the binary string to be a multiple of 2, or rest is inconsistent with decoding 
@@ -238,7 +238,7 @@ def size_binary_from_dna_len_abaab(dna_length):
         return base_length + 7
 
 
-def forbidden_rest_baa(binary_string_size: str) -> bool:
+def forbidden_rest_baa(binary_string_size: int) -> bool:
     """
     return True if the binary is of a length that cannot be converted by the baa method
     """