API call communication bugfixes