[BUG] fix api call