Fixed api call