removes serperfluous index and test