index fix

fixed index test