- fix api call