small fixes
fixed api call