fixing index response