tried to fix apicall