fixing API with search term
fixing API with search term