Fixed API call