removing superfluous index