fixed api_call