fixing index extension