Fixed wrong API call