fixed invalid return of GlobalConfigApi.getConfig()