bug fix in search graph