fixing index again