Fixed wrong api call