remove unneeded index