fix search.c