fix api call url