cleanup indx