DynamicArray small fixes