diff --git a/common/python/nomadcore/local_backend.py b/common/python/nomadcore/local_backend.py
index 947fde7d452d65c212fc93458420be5c990966fa..6d220744bde6cc64b83ab688a0a9dcda62cc4c93 100644
--- a/common/python/nomadcore/local_backend.py
+++ b/common/python/nomadcore/local_backend.py
@@ -182,7 +182,7 @@ class LocalBackend(object):
             if actual_numpy_type not in array_types:
                 raise TypeError("The given array for metainfo '{}' has incorrect type of values in it. The values given are '{}', whereas the datatype given in metainfo is '{}'".format(metaName, actual_numpy_type, dtype_str))
 
-        dataManager.superSectionManager.addArrayValues(dataManager.metaInfo, values, gIndex)
+        dataManager.superSectionManager.addArrayValues(dataManager.metaInfo, values, gIndex=gIndex)
 
     def array_type_for_metainfo_type(self, dtypeStr):
         """Returns a list of numpy types correspoding to the dtypeStr of a
@@ -629,7 +629,7 @@ class SectionManager(object):
         except KeyError:
             raise Exception("Cannot set array values for metadata %s to section %d (%d) of %s, as it is not open" % (valueMetaInfo.name, gI, gIndex, self.metaInfo.name))
 
-    def addArrayValues(self, valueMetaInfo, value, offset=None, gIndex=-1):
+    def addArrayValues(self, valueMetaInfo, value, gIndex=-1):
         if gIndex == -1:
             gI = self.lastSectionGIndex
         else: