trying to fix API calls from server