use field instead of class to access ApiClient