removing duplicate index