diff --git a/opc/__init__.py b/opc/__init__.py
index <HASH>..<HASH> 100644
--- a/opc/__init__.py
+++ b/opc/__init__.py
@@ -191,7 +191,9 @@ class OPCN2:
         sleep(10e-3)
 
         # read the histogram
-        for i in range(62):
+        numBytes = 58 if self.firmware in [16, 17] else 62
+        
+        for i in range(numBytes):
             r = self.cnxn.xfer([0x00])[0]
             resp.append(r)
 
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3
 
-__version__ = '0.0.8'
+__version__ = '0.0.9'
 
 from distutils.core import setup
more bug fixes for firm <I>