fix duplicated search