fixes compatibility issue #1.
slicing the capacity is not really important here.