bug fix in elders search