Fix wrong Index definition