search: minor fixes