diff --git a/README.md b/README.md
index e2ffc1e4d24e82aba6b1049196c1168fc918cb50..a148c6e99a5ef88bef8b99237b0ba386c7c1e2df 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,7 @@ Then copy your resulting wheel and install it via pip on the target system.
 * older TempsDB databases that do not support varlens will be updated upon opening
 * added metadata support for databases
 * a flush will be done before re-enabling mmap
+* bugfix to read archive data
 
 ## v0.5.3
 
diff --git a/setup.py b/setup.py
index 5f20851317cc608864b59c42081fbda9b2809177..93f8c04e8d4a3c52fe0ae0038683eda1aac10bb5 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ ext_modules = build([Multibuild('tempsdb', find_pyx('tempsdb'),
                      **cythonize_kwargs)
 
 setup(name='tempsdb',
-      version='0.5.4a4',
+      version='0.5.4b1',
       packages=find_packages(include=['tempsdb', 'tempsdb.*']),
       install_requires=['satella>=2.14.24', 'ujson'],
       ext_modules=ext_modules,
diff --git a/tempsdb/iterators.pyx b/tempsdb/iterators.pyx
index b7d5d11871006f7783e06131af0caad0dd30489e..28d5633cb1e11c1673cb6ad30226daf18a49b97b 100644
--- a/tempsdb/iterators.pyx
+++ b/tempsdb/iterators.pyx
@@ -141,7 +141,7 @@ cdef class Iterator:
             elif self.i == self.limit:
                 self.get_next()
             return self.current_chunk.get_piece_at(self.i)
-        except StopIteration:
+        except (StopIteration, IndexError):
             return None
         finally:
             self.i += 1