Fix read index