remove wrong index