refix index