re-index fix