trimming search crit