fix rows in index