compare search fixed