fix missing return statement in CachedAllConfig