fixing index back