remove the index reroute