fixed bug with missing namespace trying to call the APIClient class