data.index fix