fixed read working with an immutable vector