Fix `unpack` for array