fixes with api calls and arguments