fix remove orphan search