Fix out of data index