fixing the API stubbing