remove extra index