searching performance bug