fix apis search_restaurant and get_all_restaurant