the API loop returns too many results - must fix