If the index starts with 0, then enter a variable with the value 1 and subtract it when calling the functions for working with the index.
Or you can try so.
or so