ensure app domains are singletons