search by name bug fix