Unable to add/edit indexes