fix for api-console