fix the reindex