fix for duplicated search