make offsetGet methods work consistency