Testing on index(index not valid bug)