fixed all indexes